import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Circle c = new Circle();
        Scanner num = new Scanner(System.in);
        while(num.hasNextDouble()){
            double r = num.nextDouble();
            c.setR(r);
            System.out.println(c.getR());
            System.out.println(c.getArea());
        }
    }
}
